package cn.kgc.service.impl;

import cn.kgc.mapper.DetailMapper;
import cn.kgc.pojo.Detail;
import cn.kgc.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 肖天锴
 * @version 1.0
 * @date 2022/10/18 - 15:01
 */
@Service
public class DetailServiceImpl implements DetailService {

    @Autowired
    private DetailMapper detailMapper;

    @Override
    public int addDetail(Detail detail) {
        return detailMapper.addDetail(detail);
    }
}
